import request from '@/utils/request'
// 获取文章新闻推荐
export function getArticles (id, timestamp) {
  return request({
    url: '/v1_0/articles',
    params: {
      channel_id: id,
      timestamp
    }
  })
}
// 新闻详情
export function getArticlesDetail (ArticleId) {
  return request({
    url: '/v1_0/articles/' + ArticleId
  })
}
